Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CLI from Core #791

Merged
merged 17 commits into from
May 29, 2019
Merged

Remove CLI from Core #791

merged 17 commits into from
May 29, 2019

Conversation

antho1404
Copy link
Member

I'm working on another CLI separated from the core and in JS here https://github.com/mesg-foundation/cli.

So we take this decision, all the files in this PR are not necessary anymore

@NicolasMahe NicolasMahe changed the base branch from master to dev February 22, 2019 09:27
@antho1404 antho1404 mentioned this pull request May 24, 2019
@antho1404 antho1404 marked this pull request as ready for review May 24, 2019 04:33
ilgooz
ilgooz previously approved these changes May 24, 2019
Copy link
Contributor

@ilgooz ilgooz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manual tests are good!

@@ -78,18 +76,25 @@ if [[ ! $BINCACHED ]] || [[ ! $DOCKERCACHED ]]; then
docker build -f Dockerfile.dev -t "mesg/core:$VERSION" .
fi

./bin/cli stop
# docker service rm core
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgotten comment here?

Copy link
Member

@NicolasMahe NicolasMahe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is working well, but why when I ctrl+c the script ./dev-core, I get this error as last line of the output:

Error: No such service: core

Its the output of docker service rm core but only if the core doesn't exist. It feels like it's being called 2 times but I cannot debug it

@antho1404
Copy link
Member Author

yes can't find how to fix that but can be done in another PR if needed and anyway it's working and just for dev so it's fine to keep it like that

@NicolasMahe NicolasMahe requested a review from krhubert May 28, 2019 04:30
NicolasMahe
NicolasMahe previously approved these changes May 28, 2019
@NicolasMahe
Copy link
Member

@krhubert please also review and test ;)

krhubert
krhubert previously approved these changes May 29, 2019
@NicolasMahe
Copy link
Member

NicolasMahe commented May 29, 2019

Let's merge first #974 so we can have a last working CLI compatible with single-output until the js version is ready!

@NicolasMahe
Copy link
Member

NicolasMahe commented May 29, 2019

There is a missing stuff in this PR:

@NicolasMahe
Copy link
Member

Another PR to remove some scripts: #996

@NicolasMahe NicolasMahe dismissed stale reviews from krhubert, ilgooz, and themself via 421e6b8 May 29, 2019 09:54
# Conflicts:
#	commands/commands.go
#	commands/mocks/Executor.go
#	commands/provider/client.go
#	commands/provider/marketplace_provider.go
#	commands/provider/service_provider.go
#	commands/provider/wallet_provider.go
#	commands/service_dev.go
#	commands/service_dev_test.go
#	commands/service_execute.go
@NicolasMahe
Copy link
Member

@mesg-foundation/core i will force merge this PR when test are green!

@NicolasMahe NicolasMahe merged commit 5a9d4c2 into dev May 29, 2019
@NicolasMahe NicolasMahe deleted the feature/remove-cli branch May 29, 2019 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants